package com.lora.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping(value = "/manage/demo/powerPage")
public class PowerPageController {
    /**
     *
     * @return
     */
    @RequestMapping("toIndex")
    public String toIndex(){
        return "/manage/lora/powerPage/index";
    }
    /**
     * 二级菜单
     * @return
     */
    @RequestMapping("tosecondaryPages")
    public String tosecondaryPages(){
        return "/manage/lora/powerPage/secondaryPages";
    }

    /**
     * 电量仪
     * @return
     */
    @RequestMapping("toupsPowerInput")
    public String toupsPowerInput(){
        return "/manage/lora/powerPage/upsPowerInput";
    }
    /**
     *UPS状态监控
     * @return
     */
    @RequestMapping("toupsState")
    public String toupsState(){
        return "/manage/lora/powerPage/upsState";
    }
    /**
     * 开关量
     * @return
     */
    @RequestMapping("tocabinetUps")
    public String tocabinetUps(){
        return "/manage/lora/powerPage/cabinetUps";
    }
    /**
     * 市电输入
     * @return
     */
    @RequestMapping("topowerOutput")
    public String topowerOutput(){
        return "/manage/lora/powerPage/powerOutput";
    }
    /**
     * 温湿度
     * @return
     */
    @RequestMapping("tohumidityeTmperature")
    public String tohumidityeTmperature(){
        return "/manage/lora/powerPage/humidityeTmperature";
    }
    /**
     * 消防门禁
     * @return
     */
    @RequestMapping("toaccessControl")
    public String toaccessControl(){
        return "/manage/lora/powerPage/accessControl";
    }
    /**
     * 新风机
     * @return
     */
    @RequestMapping("tofreshAir")
    public String tohumiditofreshAirtyeTmperature(){
        return "/manage/lora/powerPage/freshAir";
    }

    /**
     * 空调
     * @return
     */
    @RequestMapping("toairConditioner")
    public String toairConditioner(){
        return "/manage/lora/powerPage/airConditioner";
    }
    /**
     * 门磁
     * @return
     */
    @RequestMapping("tocabinet")
    public String tocabinet(){
        return "/manage/lora/powerPage/cabinet";
    }
    /**
     * 新风控制器数据(空调)
     * @return
     */
    @RequestMapping("tofreshAirContolAirConditioning")
    public String tofreshAirContolAirConditioning(){
        return "/manage/lora/powerPage/freshAirContolAirConditioning";
    }
    /**
     * 红外人体活动探测器
     * @return
     */
    @RequestMapping("tohumanActiveInfrared")
    public String tohumanActiveInfrared(){
        return "/manage/lora/powerPage/humanActiveInfrared";
    }
    /**
     * 红外感应器数据
     * @return
     */
    @RequestMapping("todoor")
    public String todoor(){
        return "/manage/lora/powerPage/door";
    }
    /**
     * 红外感应器数据
     * @return
     */
    @RequestMapping("toinfraredinduction")
    public String toinfraredinduction(){
        return "/manage/lora/powerPage/infraredinduction";
    }


    /**
     * 所有设备状态
     * @return
     */
    @RequestMapping("toequipentAll")
    public String toequipentAll(){
        return "/manage/lora/powerPage/equipentAll";
    }
}
